<? include_once("../../../common/common_setting_unit.php"); //引入通用的设置文件?>

<?
//引入所有子系统信息
include_once("../../../common/script/extender_import.php");


//**获取当前板块资料，必然载入，后续很多读取板块数据库的表格，都写成动态的了。
include_once("script/this_plate.php");




$table= $table_prefix.$this_plate['table']['category'];
$nid  =$_REQUEST['nid'];

$_data['ai_delete_status']="已删除";

$_delete_sql=update_date($table,$_data,"nid",$nid);


sql_log($_delete_sql);
$query=mysql_query($_delete_sql) or die ('删除数据失败'.mysql_error().$_delete_sql);
mysql_close($con);


if($query){
    $arr['status'] = 200;
    $arr['info'] = '删除成功';
    die(json_encode($arr)) ;
}
else
{
    $arr['status'] = 201;
    $arr['info'] = '删除失败';
    die(json_encode($arr)) ;
}

?>



